package com.ygqh.baby.service;

import com.ygqh.baby.ao.QueryInfo;
import com.ygqh.baby.ao.ResultSet;
import com.ygqh.baby.po.YgWeixinMenuDay;

import java.util.Date;
import java.util.List;

/**
 * @author admin
 */
public interface YgWeixinMenuDayService {

	List<YgWeixinMenuDay> find();

	int findCount();

	YgWeixinMenuDay findById(Long id);

	int deleteSoft(Long[] ids);

	int deleteSoft(Long id);

	int save(YgWeixinMenuDay ygWeixinMenuDay);

	int update(YgWeixinMenuDay ygWeixinMenuDay);

	int saveOrUpdate(YgWeixinMenuDay ygWeixinMenuDay);

	ResultSet<YgWeixinMenuDay> search(QueryInfo queryInfo, String q);

	@Deprecated
	void saveMenuClick(String openId, String url);

	void saveMenuClick(String openId, String url, String platformNo);

	/**
	 * 指定时间内无下单记录的点击用户
	 *
	 * @param startDate
	 * @return
	 */
	@Deprecated
	List<String> getOpenId(Date startDate);

	List<String> getOpenId(Date startDate, String platformNo);
}
